export class memberModel {
    public projectId: string;
    public filter: string;
    public sorting: string;
    public maxResultCount: number = 10;
    public skipCount: number = 0;

    constructor(obj?) {
        const instance = this;
        if (!obj) return;
        (obj.projectId) && (instance.projectId = obj.projectId);
        (obj.filter) && (instance.filter = obj.filter);
        (obj.sorting) && (instance.sorting = obj.sorting);
        (obj.maxResultCount) && (instance.maxResultCount = obj.maxResultCount);
        (obj.skipCount) && (instance.skipCount = obj.skipCount);
    }
}
